package com.huawei.hianalytics.log.e;

import com.huawei.hianalytics.g.b;
import java.io.Closeable;
import java.io.IOException;

public class d {
    public static void a(int i, Closeable closeable) {
        if (closeable != null) {
            try {
                closeable.close();
            } catch (IOException e) {
                b.c("LogStreamUtil", "closeQuietly(): Exception when closing the closeable!");
            }
        }
    }
}
